package com.tianya.dream.recall.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 个人日记文档表 Note
 *
 * @author zcx
 * @creatDate 2021-08-25 16:06:04
*/
public class Note {
	private static final long serialVersionUID = 1L;

	/** 编号*/
	private Long id;
	/** 标题*/
	private String title;
	/** 笔记内容*/
	private String content;
	/** 关联目录id*/
	private String dirId;
	/** 序号*/
	private int listId;
	/** 添加时间*/
	private Date creatTime;


    /** 编号*/
	public void setId(Long id){
		this.id = id;
	}
    /** 编号*/
	public Long getId(){
		return id;
	}

    /** 标题*/
	public void setTitle(String title){
		this.title = title;
	}
    /** 标题*/
	public String getTitle(){
		return title;
	}

    /** 笔记内容*/
	public void setContent(String content){
		this.content = content;
	}
    /** 笔记内容*/
	public String getContent(){
		return content;
	}

    /** 关联目录id*/
	public void setDirId(String dirId){
		this.dirId = dirId;
	}
    /** 关联目录id*/
	public String getDirId(){
		return dirId;
	}

    /** 序号*/
	public void setListId(int listId){
		this.listId = listId;
	}
    /** 序号*/
	public int getListId(){
		return listId;
	}

    /** 添加时间*/
	public void setCreatTime(Date creatTime){
		this.creatTime = creatTime;
	}
    /** 添加时间*/
	public Date getCreatTime(){
		return creatTime;
	}


    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("dirId", getDirId())
            .append("listId", getListId())
            .append("creatTime", getCreatTime())
            .toString();
    }
}
